<!DOCTYPE html>  
<html>  
  <head>  
    <title>Operators</title>  
  </head>
  <body>  
    <script type="text/javascript">  
       var x = 5;
       var y = 2;
       
       document.write(x == y);document.write("<br>");
       document.write(x != y);document.write("<hr>");

       document.write(1 == true);document.write("<br>");
       document.write(1 === true);document.write("<br>");
       document.write(x !== y);document.write("<hr>");

       document.write(x > y);document.write("<br>");
       document.write(x < y);document.write("<br>");
       document.write(x >= y);document.write("<br>");
       document.write(x <= y);document.write("<hr>");
       
       document.write(true && false);document.write("<br>");
       document.write(false || true);document.write("<br>");
       document.write(!true);
    </script> 
  </body>  
</html>